﻿namespace EAL.ViewModels
{
    using EAL.Models;
    using EAL.MVVM;

    public abstract class TabItemVM : ModelBase
    {

        private RelayCommand exportCommand = new RelayCommand(null, DefaultRelayCommandCanExcecute);

        private RelayCommand importCommand = new RelayCommand(null, DefaultRelayCommandCanExcecute);

        private string importCommandDescription = "Import";

        private string exportCommandDescription = "Export";


        public string ImportCommandDescription
        {
            get { return importCommandDescription; }
            protected set { importCommandDescription = value; }
        }

        public string ExportCommandDescription
        {
            get { return exportCommandDescription; }
            protected set { exportCommandDescription = value; }
        }        

        public RelayCommand ImportCommand
        {
            get { return importCommand; }
            protected set { importCommand = value; }
        }

        public RelayCommand ExportCommand
        {
            get { return exportCommand; }
            protected set { exportCommand = value; }
        }

        private static bool DefaultRelayCommandCanExcecute(object o)
        {
            return false;
        }

    }
}
